package model;


public class Machine 
{
	private String ID;
	private String name;
	private String part;
	private String company;
	private String description;
	private String status;

	public Machine(String iD, String name, String part, String company, String description, String status) 
	{
		ID = iD;
		this.name = name;
		this.part = part;
		this.company = company;
		this.description = description;
		this.status = status;
	}


	public String getID() {
		return ID;
	}

	public void setID(String iD) {
		ID = iD;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPart() {
		return part;
	}

	public void setPart(String part) {
		this.part = part;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	@Override
	public String toString()
	{
		// create custom toString
		String toPrint = "ID: " + ID + ", naam: " + name + ", Description: " + description + ", huidige status: " + status;
		return toPrint;
		
	}
}
